// 勤务监控
var dataExpresswaySummary = { // 高速运行概括
    policeCaseNum: 15,
    todoPoliceCaseNum: 3,

    constructionNum: 5,
    mileage: 3.2,

    openGatesNum: 45,
    offGatesNum: 7,
};

var dataExpresswayTrafficFlow = { // 高速交通流量
    timeList: ['10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00'],
    lastWeek: [10, 23, 43, 32, 16, 45, 12],
    nowWeek: [30, 14, 32],
};
var dataSafetyWarningLine = { // 安全风险预警折线图
    timeList: ['10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00'],
    lastWeek: [30, 13, 23, 42, 26, 15, 32],
    nowWeek: [40, 10],
    allNum:100,
    lstCurrent:[
        {num: 30, name: '青银高速'},
        {num: 14, name: '青新高速'},
        {num: 10, name: '威青高速'},
        {num: 9, name: '沈海高速'},
    ],
};

var dataSafetyWarninList = [ //安全风险预警表格
    {warningTime: "06:00", highSpeedName: '青银高速', detailLocation: "K300上行", trafficFlow: 200, largeCarRate: 20},
    {warningTime: "07:00", highSpeedName: '青银高速', detailLocation: "K600下行", trafficFlow: 340, largeCarRate: 10},
    {warningTime: "08:31", highSpeedName: '青新高速', detailLocation: "K580上行", trafficFlow: 270, largeCarRate: 40},
    {warningTime: "09:40", highSpeedName: '威青高速', detailLocation: "K200上行", trafficFlow: 390, largeCarRate: 30},
    {warningTime: "10:50", highSpeedName: '龙青高速', detailLocation: "K100上行", trafficFlow: 459, largeCarRate: 50},
    {warningTime: "12:30", highSpeedName: '沈海高速', detailLocation: "K300上行", trafficFlow: 576, largeCarRate: 40},
    {warningTime: "13:20", highSpeedName: '沈海高速', detailLocation: "K450下行", trafficFlow: 607, largeCarRate: 30},
    {warningTime: "14:30", highSpeedName: '荣潍高速', detailLocation: "K200上行", trafficFlow: 707, largeCarRate: 20},
    {warningTime: "15:40", highSpeedName: '新潍高速', detailLocation: "K400上行", trafficFlow: 463, largeCarRate: 16},
    {warningTime: "16:50", highSpeedName: '荣乌高速', detailLocation: "K400上行", trafficFlow: 325, largeCarRate: 11},
    {warningTime: "20:00", highSpeedName: '青兰高速', detailLocation: "K100上行", trafficFlow: 345, largeCarRate: 10},

];
var dataServiceSummary = { // 勤务运行概览
    policeDeploymentNum: 1248,
    onDutyNum: 1005,
    notOnTimeNum: 80,
    onDutyRate: 90,
};

var dataXunluoPingJia = { // 动态勤务巡逻评价
    highRiskSectionRate: 0.4,
    highRiskPatrolCoverageRate: 0.7,
    highRiskTimeRate: 0.6,
};
var dataEnforcementEvaluate = { // 交通执法评价
    breakLawRate: 0.72,
    highRiskRate: 0.52,

    top5IllegalAct:[
        {num: 85, name: 0},
        {num: 70, name: 1},
        {num: 65, name: 2},
        {num: 60, name: 3},
        {num: 50, name: 4},
    ],
    top5highRisk: [
        {num: 85, name: '青银K240上行'},
        {num: 70, name: '青新K340上行'},
        {num: 65, name: '威青K540上行'},
        {num: 60, name: '新潍K340上行'},
        {num: 50, name: '青兰K440上行'},
    ]
};
var dataPatrolEvaluation = { // 事故处置评价

    accidentTotal: 87,
    previousYearTotalRate: 0.075,

    arrivaltime: 8.7,
    previousYearArrivalRate: '-0.075',

    excutetime: 12.3,
    previousYearExcuteRate: 0.085,
};

// var data = {top5Check:[
//     {number: 评分, name: 部门名称}
//     ],
//     radar:[{accidentHandling:事故处理评分, comprehensiveScore: 综合评分,trafficLaw: 交通执法, dailyPatrol: 日常巡逻, leaderScore: 领导巡查, name: 部门名称}]};

var dataBrigadeList = { // 勤务排名
    top5Check:[
        {number: 93, name: "同三大队"},
        {number: 80, name: "青平大队"},
        {number: 70, name: "潍莱大队"},
        {number: 60, name: "胶州湾大队"},
    ],
    radar:[
    {
        accidentHandling:40, comprehensiveScore: 20,trafficLaw: 50, dailyPatrol: 10, leaderScore: 30,
        name: '同三大队',
    },
    {
        accidentHandling:20, comprehensiveScore: 80,trafficLaw: 60, dailyPatrol: 58, leaderScore: 70,
        name: '青平大队',
    },
    {
        accidentHandling:67, comprehensiveScore: 32,trafficLaw: 36, dailyPatrol: 93, leaderScore: 25,
        name: '潍莱大队',
    },
    {
        accidentHandling:69, comprehensiveScore: 99,trafficLaw: 10, dailyPatrol: 40, leaderScore: 70,
        name: '胶州湾大队',
    },
    {
        accidentHandling:50, comprehensiveScore: 80,trafficLaw: 50, dailyPatrol: 80, leaderScore: 34,
        name: '胶州湾大队',
    }
]};

var dataPatrolEvaluationDetailTable = [  //模态框巡逻评价table
    {id:0,beginTime:'2020/11/12',endTime:'2020/12/12',spaceTimeNum:480,highRiskSpaceNum:48,highRiskSectionRate:0.10,highRiskPatrolNum:46,highRiskPatrolCoverageRate:0.96,patroltimelong:100,highRiskPatrolTimeLong:50,highRiskTimeRate:0.50},
    {id:1,beginTime:'2020/12/11',endTime:'2021/01/12',spaceTimeNum:380,highRiskSpaceNum:59,highRiskSectionRate:0.14,highRiskPatrolNum:63,highRiskPatrolCoverageRate:0.75,patroltimelong:112,highRiskPatrolTimeLong:45,highRiskTimeRate:0.32},
    {id:2,beginTime:'2020/10/12',endTime:'2020/11/12',spaceTimeNum:580,highRiskSpaceNum:65,highRiskSectionRate:0.13,highRiskPatrolNum:23,highRiskPatrolCoverageRate:0.80,patroltimelong:120,highRiskPatrolTimeLong:60,highRiskTimeRate:0.43},
    {id:3,beginTime:'2020/09/12',endTime:'2020/10/12',spaceTimeNum:280,highRiskSpaceNum:32,highRiskSectionRate:0.20,highRiskPatrolNum:42,highRiskPatrolCoverageRate:0.78,patroltimelong:99,highRiskPatrolTimeLong:54,highRiskTimeRate:0.60},
];
var dataHighRiskSection = [
    {id: 0, name: '沈海K580'},
    {id: 1, name: '龙青K520'},
    {id: 2, name: '龙青K440'},
    {id: 3, name: '青新K340'},
    {id: 4, name: '青兰K440'},
    {id: 5, name: '青兰K210'},
    {id: 6, name: '荣乌K320'},
    {id: 7, name: '新潍K430'},
    {id: 8, name: '荣潍K430'},
];
// {drivingdirection: 行驶方向, id:  路段id, name:  路段名称,
//     risklevel: 风险等级, timeinterval: 时段}
var dataPatrolEvaluationDetailskfb = [
    {drivingdirection: 0, sectionid:  0, risklevel: 1, timeinterval: '02'},
    {drivingdirection: 1, sectionid:  0, risklevel: 2, timeinterval: '04'},
    {drivingdirection: 1, sectionid:  0, risklevel: 1, timeinterval: '08'},
    {drivingdirection: 1, sectionid:  0, risklevel: 3, timeinterval: '23'},
    {drivingdirection: 1, sectionid:  7, risklevel: 1, timeinterval: '23'},
    {drivingdirection: 0, sectionid:  7, risklevel: 1, timeinterval: '23'},
    {drivingdirection: 0, sectionid:  5, risklevel: 1, timeinterval: '23'},
    {drivingdirection: 1, sectionid:  5, risklevel: 1, timeinterval: '23'},
]
//
// {highTimeLong: 高风险巡逻时长, sectionId:  路段id, mileage: 巡逻公里数,
//     countTime: 统计时间, direction: 上行/下行, timeLong: 非高风险巡逻时长, name: 路段名称,
//     totalMileage: 总巡逻公里数}
var dataPatrolEvaluationDetailgfxfgl = [ //高风险路段巡逻覆盖率
    {sectionId:  1, mileage: 23, direction: 0, name: '沈海K580', totalMileage: 100,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
    {sectionId:  1, mileage: 10, direction: 1, name: '沈海K580', totalMileage: 100,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
    {sectionId:  2, mileage: 50, direction: 0, name: '沈海K580', totalMileage: 60,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
    {sectionId:  2, mileage: 10, direction: 1, name: '沈海K580', totalMileage: 60,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
    {sectionId:  3, mileage: 32, direction: 0, name: '沈海K580', totalMileage: 80,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
    {sectionId:  3, mileage: 50, direction: 1, name: '沈海K580', totalMileage: 80,countTime: "统计时间",timeLong: '非高风险巡逻时长',highTimeLong: '高风险巡逻时长'},
];
var dataHighRiskRoadSectionCategory =  [ //高风险路段巡逻时长占比
    {countTime: "2020-10-08",timeLong: 120,highTimeLong: 120},
    {countTime: "2020-10-10",timeLong: 120,highTimeLong: 800},
    {countTime: "2020-10-12",timeLong: 150,highTimeLong: 120},
    {countTime: "2020-10-14",timeLong: 120,highTimeLong: 120},
    {countTime: "2020-10-16",timeLong: 20,highTimeLong: 120},
    {countTime: "2020-10-18",timeLong: 120,highTimeLong: 110},
];
var dataPatrolEvaluationDetailxlsc = [
    {road: "沈海K580", skfb: [{all: 27, doN: 23}, {all: 26, doN: 21}]},
];
export {
    dataExpresswaySummary,
    dataExpresswayTrafficFlow,
    dataSafetyWarningLine,

    dataSafetyWarninList,
    dataServiceSummary,
    dataXunluoPingJia,
    dataEnforcementEvaluate,
    dataPatrolEvaluation,
    dataHighRiskSection,
    // dataPatrolEvaluationList1,
    // dataPatrolEvaluationList2,
    dataBrigadeList,
    dataPatrolEvaluationDetailTable,
    dataPatrolEvaluationDetailskfb,
    dataPatrolEvaluationDetailgfxfgl,
    dataHighRiskRoadSectionCategory,
    dataPatrolEvaluationDetailxlsc,
}
